package com.pagoda.nerp.trade.app.message.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pagoda.nerp.trade.common.ConstantDefine;

import java.util.Date;

public class MdMessageDto {
    private int id;
    private String title;
    private String msgContent;
    @JsonFormat(pattern = ConstantDefine.TIME_FORMAT)
    private Date msgCreateTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    public Date getMsgCreateTime() {
        return msgCreateTime;
    }

    public void setMsgCreateTime(Date msgCreateTime) {
        this.msgCreateTime = msgCreateTime;
    }
}
